<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>美食天下是活跃的中文美食网站与厨艺交流社区，拥有海量的优质原创美食菜谱，聚集超千万美食家。我所有的朋友都是吃货，欢迎您加入！</title>
    <link rel="icon" href="../imgs/fav.ico" type="image/x-icon" />
    <style>
        #outer {
            width: 990px;
            height: 125px;
            /* border: 1px solid red;*/
            margin: auto;
        }

        .logo {
            width: 108px;
            height: 60px;
            /* border: 1px solid black;*/
            float: left;
        }

        .logo img {
            width: 108px;
            height: 60px;
            margin-top: 30px;
        }

        .right {
            width: 246.67px;
            height: 60px;
            float: right;
            /*border: 1px solid firebrick;*/
            margin-top: 20px;
        }

        .right input {
            width: 166.67;
            height: 25px;
            border: 1px solid #ccc;
            float: left;
            margin-top: 32px;
            border-right: none;

        }

        .right button {
            width: 80px;
            height: 28px;
            text-indent: auto;
            line-height: 18px;
            float: right;
            font-size: 14px;
            color: #333;
            text-decoration: none;
            transition: all .2s linear;
            margin-top: 32px;
            position: absolute;

        }

        .right button:hover {
            background-color: #ff6767;
            color: #fff;
        }

        .nav {
            width: 460px;
            height: 60px;
            /*border: 1px solid red; */
            float: right;
            padding: 0 40px 0 0;
            margin-top: 20px;
        }

        .nav ul {
            list-style: none;
        }

        .nav a {
            position: relative;
            float: left;
            padding: 0 10px 5px;
            font-size: 20px;
            line-height: 60px;
            text-decoration: none;
            color: #333;
        }

        .nav a.one {
            color: #ff6767;
        }

        .nav a:hover {
            color: #ff6767;
        }

        #main {
            position: relative;
            border: 1px solid #ccc;
            width: 990px;
            height: 360px;
            margin: auto;
            background-size: contain;
            background-image: url(../imgs/background1.jpg);
            animation: background-switchchover 10s linear infinite
        }

        @keyframes background-switchchover {
            0% {
                background-image: url(../imgs/background1.jpg);
            }

            33.33% {
                background-image: url(../imgs/background2.jpg);
            }

            66.66% {
                background-image: url(../imgs/background3.jpg);
            }

            100% {
                background-image: url(../imgs/background1.jpg);
            }
        }

        .m {
            width: 220px;
            height: 360px;
            background-color: rgba(68, 68, 68, .4);
            position: absolute;
            top: 0;
            left: 0;
            padding: 13.5px 0 0;
            box-sizing: border-box;
        }

        #main ul {
            padding: 0;
            top: 0;
            list-style: none;
            font-size: 18px;
        }

        #main a {
            color: #333;
            text-decoration: none;
            display: block;
            color: #fff;
            height: 20px;
            line-height: 20px;
            padding: 20px 0;
            padding-left: 30px;
        }


        .contract {
            width: 70px;
            height: 24px;
            margin: auto;
            /*border: 1px solid red;*/
            float: right;
            margin-top: 335px;
            box-sizing: border-box;
        }

        .contract li {
            margin: 5px;
            display: inline-block;
            width: 4px;
            height: 4px;
            border: 3px solid #999;
            border-radius: 50%;

        }



        #navv a {
            text-decoration: none;
            color: #333;
        }

        ul {
            list-style: none;
            padding: 0;
        }

        #navv>li {
            float: left;
        }

        #navv a {

            color: #333;
            width: 180px;
            height: 70px;
            display: block;
            font-size: 18px;
            padding: 1px;
            box-sizing: border-box;
            margin-left: 40px;

        }

        #navv ul {
            display: none;

        }

        #navv a:hover {
            
            color: #ff6767;
        }

        #navv>li:hover ul {
            display: block;
            background-color: #fff;
        }

        #navv li ul li {
            position: absolute;
            float: left;

        }

        .p {
            width: 126px;
            height: 126px;
        }

        .picture1 {
            position: absolute;
            top: 20px;
            left: 0px
        }

        .picture2 {
            position: absolute;
            top: 20px;
            left: 144px;
        }

        .picture3 {
            position: absolute;
            top: 20px;
            left: 288px;
        }

        .picture4 {
            position: absolute;
            top: 20px;
            left: 432px;
        }

        .picture5 {
            position: absolute;
            top: 20px;
            left: 576px;
        }

        .picture6 {
            position: absolute;
            top: 20px;
            left: 720px;
        }

        .picture7 {
            position: absolute;
            top: 20px;
            left: 864px;
        }

        .picture8 {
            position: absolute;
            top: 210px;
            left: 0px;
        }

        .picture9 {
            position: absolute;
            top: 210px;
            left: 144px;
        }

        .picture10 {
            position: absolute;
            top: 210px;
            left: 288px;
        }

        .picture11 {
            position: absolute;
            top: 210px;
            left: 432px;
        }

        .picture12 {
            position: absolute;
            top: 210px;
            left: 576px;
        }

        .picture13 {
            position: absolute;
            top: 210px;
            left: 720px;
        }

        .picture14 {
            position: absolute;
            top: 210px;
            left: 864px;
        }

        .box {
            width: 990px;
            height: 410px;
            position: absolute;
            left: 175px;
        }

        p {
            font-size: 12px;
            line-height: 140%;
            color: black;
            text-align: center;
        }

        p:hover {
            color: red;
        }
    </style>
</head>

<body>
    <div id="outer">
        <div class="logo">
            <img src="../imgs/wapicon.png" alt="">
        </div>
        <div class="right">
            <div class="search">
                <input type="text">
                <button type="button">搜索</button>
            </div>
        </div>
        <div class="nav">
            <ul>
                <li><a href="#" class="one">首页</a></li>
                <li><a href="#">菜谱</a></li>
                <li><a href="#">食材</a></li>
                <li><a href="#">资讯</a></li>
                <li><a href="#">笔记</a></li>
                <li><a href="#">社区</a></li>
                <li><a href="#">专题</a></li>
            </ul>
        </div>
    </div>
    </script>
    <div id="main">
        <div>
            <ul class="contract">
                <li>
                    <a href="1"></a> &nbsp;
                </li>
                <li>
                    <a href="2"></a> &nbsp;
                </li>
                <li>
                    <a href="3"></a> &nbsp;
                </li>
            </ul>
        </div>
        <div class="m">
            <ul id="navv">
                <li>
                    <a class="sbartitle" href="#"><i></i>菜谱大全<b></b></a>
                    
                </li>
            </ul>
            <ul id="navv">
                <li>
                    <a class="sbartitle" href="#"><i></i>食材大全<b></b></a>
                    
                </li>
            </ul>
            <ul id="navv">
                <li>
                    <a class="sbartitle" href="#"><i></i>饮食健康<b></b></a>
                    
                </li>
            </ul>
            <ul id="navv">
                <li>
                    <a class="sbartitle" href="#"><i></i>专题专区<b></b></a>
                    
                </li>
            </ul>
            <ul id="navv">
                <li>
                    <a class="sbartitle" href="#"><i></i>客户端<b></b></a>
                    
                </li>
            </ul>
        </div>
    </div>
    </div>
    </div>
    <div class="box">


        <div class="box">


            <div class="picture1">
                <img class="p1 p" src="../imgs/1.jpeg" alt="">
                <p>一年补透透，不如补霜<br />降</p>
            </div>


            <div class="picture2">
                <img class="p2 p " src="../imgs/2.jpg" alt="">
                <p>一块钱的食材，只有想<br />不到，没有做不到</p>
            </div>

            <div class="picture3">
                <img class="p3 p" src="../imgs/3.jpg" alt="">
                <p>周末最爱一锅端，时令<br />蔬菜随便放</p>
            </div>

            <div class="picture4">
                <img class="p4 p" src="../imgs/4.jpg" alt="">
                <p>它是男人的加油站，更<br />是女人的洗肠草</p>
            </div>
            <div class="picture5">
                <img class="p5 p" src="../imgs/5.jpg" alt="">
                <p>它是真正的补铁圣品，<br />铁含量是红枣13倍</p>
            </div>
            <div class="picture6">
                <img class="p6 p" src="../imgs/6.jpg" alt="">
                <p>秋燥喉咙不舒服，多吃<br />它！</p>
            </div>
            <div class="picture7">
                <img class="p7 p" src="../imgs/7.jpg" alt="">
                <p>这是百搭的食材，随手<br />一煲就满屋飘香</p>
            </div>

            <div class="picture8">
                <img class="p8 p" src="../imgs/8.jpg" alt="">
                <p> 芦笋</p>
            </div>


            <div class="picture9">
                <img class="p9 p" src="../imgs/9.jpg" alt="">
                <p> 芹菜</p>
            </div>


            <div class="picture10">
                <img class="p10 p" src="../imgs/10.jpg" alt="">
                <p> 羊肉</p>
            </div>


            <div class="picture11">
                <img class="p11 p" src="../imgs/11.jpg" alt="">
                <p> 生蚝</p>
            </div>

            <div class="picture12">
                <img class="p12 p" src="../imgs/12.jpg" alt="">
                <p> 鸡翅</p>
            </div>

            <div class="picture13">
                <img class="p13 p" src="../imgs/13.jpg" alt="">
                <p> 排骨</p>
            </div>

            <div class="picture14">
                <img class="p14 p" src="../imgs/14.jpg" alt="">
                <p> 鲳鱼</p>
            </div>


        </div>

    </div>

</body>

</html>